package top.finen.miniweapp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.finen.miniweapp.entity.WxUser;
import top.finen.miniweapp.mapper.WxUserMapper;
import top.finen.miniweapp.service.WxUserService;

@Service
public class WxUserServiceImpl implements WxUserService {

    @Autowired
    WxUserMapper wxUserMapper;

    @Override
    public WxUser registerUser(WxUser wxUser) {
        return wxUserMapper.addOneUser(wxUser);
    }
}
